package cn.yougou.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * (YgUserBasicsinfo)实体类
 *
 * @author makejava
 * @since 2020-12-06 09:29:40
 */
public class YgUserBasicsinfo implements Serializable {
    private static final long serialVersionUID = -24928202754020968L;
    /**
     * 用户id
     */
    private Integer id;
    /**
     * 性别 0男 1女 2未知
     */
    private Integer sex;
    /**
     * 用户等级 0普通用户1高级用户2特级vip用户3至尊vip用户4超级无敌vip用户
     */
    private Integer level;
    /**
     * 用户真实姓名
     */
    private String username;
    /**
     * 用户身份证号
     */
    private String useridcard;
    /**
     * 用户邮箱
     */
    private String email;
    /**
     * 用户生日
     */
    private Date birthday;
    /**
     * 用户状态 0可用1禁用2注销
     */
    private Integer state;

    public YgUserBasicsinfo() {
    }

    public YgUserBasicsinfo(Integer id, Integer sex, Integer level, String username, String useridcard, String email, Date birthday, Integer state) {
        this.id = id;
        this.sex = sex;
        this.level = level;
        this.username = username;
        this.useridcard = useridcard;
        this.email = email;
        this.birthday = birthday;
        this.state = state;
    }

    public YgUserBasicsinfo(Integer id,Integer sex, Integer level, Integer state) {
        this.id = id;
        this.sex = sex;
        this.level = level;
        this.state = state;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUseridcard() {
        return useridcard;
    }

    public void setUseridcard(String useridcard) {
        this.useridcard = useridcard;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "YgUserBasicsinfo{" +
                "id=" + id +
                ", sex=" + sex +
                ", level=" + level +
                ", username='" + username + '\'' +
                ", useridcard='" + useridcard + '\'' +
                ", email='" + email + '\'' +
                ", birthday=" + birthday +
                ", state=" + state +
                '}';
    }
}